//
//  Car.m
//  ProDemo3
//
//  Created by zc on 13-12-10.
//  Copyright (c) 2013年 zc. All rights reserved.
//

#import "Car.h"

@implementation Car
-(void)setImageURL:(NSString *)imageURL{
   
}

-(id)initWithName:(NSString *)name JBCS:(NSMutableDictionary *)jbcs CS:(NSMutableDictionary *)cs BSX:(NSMutableDictionary *)bsx CLZD:(NSMutableDictionary *)clzd{

    self = [super init];
    if (self) {
        self.totalCSName = [NSMutableArray array];
        self.bigLeavel = [NSMutableArray array];
        self.totalCSDict = [NSMutableArray array];
        self.name = name;
        
        [self.totalCSName addObject:[[jbcs allKeys] mutableCopy]];
        [self.bigLeavel addObject:@"基本参数"];
        [self.totalCSDict addObject:jbcs];
        
        [self.totalCSName addObject:[[cs allKeys] mutableCopy]];
        [self.bigLeavel addObject:@"车身"];
        [self.totalCSDict addObject:cs];
        
        [self.totalCSName addObject:[[bsx allKeys] mutableCopy]];
        [self.bigLeavel addObject:@"变速箱"];
        [self.totalCSDict addObject:bsx];
        
        [self.totalCSName addObject:[[clzd allKeys] mutableCopy]];
        [self.bigLeavel addObject:@"车轮制动"];
        [self.totalCSDict addObject:clzd];
        
    }
    return self;
}
@end
